Skip to content

[wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils#157

Draft
xytan0056 wants to merge 1 commit into
pr0-docsfrom
pr1-emitter-core
Draft

[wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils#157
xytan0056 wants to merge 1 commit into
pr0-docsfrom
pr1-emitter-core

Conversation

@xytan0056

Copy link
Copy Markdown
Contributor

Introduces the observability/metrics package skeleton — a thin flavoured wrapper over tally.Scope with op-as-subscope semantics, per-emitter base tags via Tagged, and default histogram buckets. nil-scope is safe.

No consumers migrate in this PR; adoption comes later.

Why?

What?

Test Plan

Issue

@xytan0056 xytan0056 changed the title feat(observability/metrics): add Emitter, options, buckets, and share… [wip] feat(observability/metrics): add Emitter, options, buckets, and share… Jul 7, 2026
@xytan0056 xytan0056 force-pushed the pr1-emitter-core branch 7 times, most recently from def6e80 to 5179b24 Compare July 7, 2026 23:37
@xytan0056 xytan0056 changed the title [wip] feat(observability/metrics): add Emitter, options, buckets, and share… [wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils Jul 7, 2026
@xytan0056 xytan0056 force-pushed the pr1-emitter-core branch 4 times, most recently from 0dacdc7 to 6c901b8 Compare July 7, 2026 23:58
…d names

Emitter is an interface; the default implementation wraps tally.Scope
with op-as-subscope semantics, base tags via Tagged, default histogram
buckets, and TrackInFlight. New(nil) is safe (NoopScope).
@xytan0056 xytan0056 changed the base branch from main to pr0-docs July 8, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant